#ifndef Project18_H
#define Project18_H

#include "SmallEngine.h"
#include "Sandbox.h"
// #include "ScriptCommon.h"

class Project18 : public Sandbox
{
public:
    Project18(const std::string &name = "Sandbox", CC::Scene* scene = nullptr);
	virtual ~Project18();

	virtual void OnAttach() override;
	virtual void OnDetach() override;

    virtual void OnUpdate(CC::Timestep ts, std::string renderscene = "") override;

private:
	glm::vec4 m_ClearColor = {0.0f, 1.0f, 1.0f, 1.0f};
    float m_ballRadius = 10.0;

    CC::AnimationPropertyLinear* animLinear;
    float value1 = 0.0;
    CC::Entity* smallball_1;

    CC::AnimationPropertyEaseOutSine* animEaseOutSine;
    float value2 = 0.0;
    CC::Entity* smallball_2;

};

#endif